package com.ftwj.demo.permission.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ftwj.demo.permission.entity.UserBean;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Frencis
 * @since 2019-09-22
 */
public interface UserDao extends BaseMapper<UserBean> {

	List<Map<String, Object>> queryUserAndInfo(@Param("name") String name,@Param("phone")  String phone,@Param("card")  String card
			,@Param("gender")  String gender,@Param("address")  String address,@Param("area")  String area,@Param("dept")  String dept);

	boolean updateStateById(@Param("id") Integer id,@Param("state") Integer state);

}
